package com.RunAndHappy.q779178.server.controller;

import com.RunAndHappy.q779178.pojo.entity.PhoneUser;
import com.RunAndHappy.q779178.server.service.PhoneUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PhoneUserController{
    @Autowired
    private PhoneUserService phoneUserService;
    @RequestMapping("/findByUUID")
    public PhoneUser findByUUID(String uuid){
        return phoneUserService.findByUUID(uuid);
    }

}